.redactor_box {
	position: relative;
	border: 1px solid #ddd;	
	line-height: 0;
}
.redactor_box, .redactor_box textarea {
	background-color: #fff;
}

body .redactor_air {
	position: absolute;
	border: 1px solid #ddd;
	border-bottom: none;
	z-index: 1001;
}
.redactor_box iframe {
	outline: none;	
	width: 100%;
	background: #fff;
	display: block;
	overflow: auto;
}
.redactor_box textarea {
	overflow: auto;
	resize: none;
	margin: 0;
	padding: 0;
	display: block;
	position: relative;
	z-index: 1;	
	outline: none;	
	border: none;
	width: 100%;
	font-size: 13px;
}

/*
	FULLSCREEN
*/
body .redactor_box_fullscreen {
	position: absolute;
	z-index: 2000;
	top: 0;
	left: 0;
	border: none !important;
	width: 100%;
	height: 100%;
}
body .redactor_box_fullscreen .redactor_resizer {
	display: none;
}
.redactor_toolbar {
	position: relative;
	z-index: 1002;
	height: 30px;
	margin: 0;
	line-height: 0;
	list-style: none;
	font-size: 0;
	background: url(../i/bg_toolbar.png) repeat-x bottom #f4f4f4;
	overflow: hidden;	
	border-bottom: 1px solid #cecccc;
  padding: 0;
}
.redactor_toolbar li {
	float: left !important;
	display: inline !important;
	padding: 1px;
	padding-right: 0;
}
.redactor_toolbar li.separator {
	float: left;
	background: url(../i/separator.png) center no-repeat;
	width: 2px;
	height: 32px;
	padding: 0;
	margin: 0 2px;
}
li.redactor_toolbar_right{
	float: none;
	float: right !important;
	padding: 2px 0;
	padding-right: 1px !important;
}
.redactor_toolbar li a, .redactor_toolbar li a span {
	width: 25px;
	height: 26px;
}	

.redactor_toolbar li a {
	border: 1px solid transparent;
	* border: 1px solid #eee; 
	display: block;
	line-height: 0;
	font-size: 0;
	cursor: pointer;
	zoom: 1;
	text-decoration: none;
}	

.redactor_toolbar li a span {
	display: block;
	text-indent: -3000px;
	background: url(../i/icons.png) no-repeat top left;
}
	
.redactor_toolbar li a:hover {
	border-color: #98a6ba;
	background-color: #d6dce6;
}
.redactor_toolbar li a:active, .redactor_toolbar li a.act {
	border-color: #b5b5b5;
	background-color: #e8e8e8;
}


/*
	BUTTONS
	step 25px
*/
body .redactor_toolbar li a.redactor_btn_html span				 { background-position: 0; }
body .redactor_toolbar li a.redactor_btn_styles span			 { background-position: -25px; }
body .redactor_toolbar li a.redactor_btn_bold span				 { background-position: -50px; }
body .redactor_toolbar li a.redactor_btn_italic span			 { background-position: -75px; }
body .redactor_toolbar li a.redactor_btn_deleted span		 	 { background-position: -550px; }		
body .redactor_toolbar li a.redactor_btn_insertunorderedlist span { background-position: -100px; }		
body .redactor_toolbar li a.redactor_btn_insertorderedlist span  { background-position: -125px; }
body .redactor_toolbar li a.redactor_btn_outdent span	 		 { background-position: -150px; }
body .redactor_toolbar li a.redactor_btn_indent span		 	 { background-position: -175px; }
body .redactor_toolbar li a.redactor_btn_image span		 		 { background-position: -200px; }
body .redactor_toolbar li a.redactor_btn_video span		 		 { background-position: -225px; }
body .redactor_toolbar li a.redactor_btn_file span		 		 { background-position: -250px; }	
body .redactor_toolbar li a.redactor_btn_table span		 		 { background-position: -275px; }
body .redactor_toolbar li a.redactor_btn_link span		 		 { background-position: -300px; }
body .redactor_toolbar li a.redactor_btn_fontcolor span		 	 { background-position: -325px; }
body .redactor_toolbar li a.redactor_btn_backcolor span		 	 { background-position: -350px; }
body .redactor_toolbar li a.redactor_btn_justifyleft span		 { background-position: -375px; }
body .redactor_toolbar li a.redactor_btn_justifycenter span		 { background-position: -400px; }
body .redactor_toolbar li a.redactor_btn_justifyright span		 { background-position: -425px; }
body .redactor_toolbar li a.redactor_btn_justify span		 	 { background-position: -450px; }
body .redactor_toolbar li a.redactor_btn_horizontalrule span 	 { background-position: -475px; }
body .redactor_toolbar li a.redactor_btn_fullscreen span		 { background-position: -500px; }							
body .redactor_toolbar li a.redactor_btn_normalscreen span		 { background-position: -525px !important; }	
body .redactor_toolbar li a.redactor_btn_norm_doc span		 { background-position: -300px}	
body .redactor_toolbar li a.redactor_btn_clear_form span		 { background-position: -575px}	
body .redactor_toolbar li a.redactor_btn_formula span    { background-position: -600px}
body .redactor_toolbar li a.redactor_btn_word_to_html span		 { background-position: -630px}



/*
	RESIZER
*/
.redactor_resizer {
	background-color: #f5f5f5;
	line-height: 0;
	font-size: 0;
}
.redactor_resizer div {
	display: block;
	background: url(../i/resizer.png) center no-repeat;
	background-position: 50% 1px;
	width: 49px;
	height: 8px;
	margin: auto;
	cursor: s-resize;
}

/*
	DROPDOWN
*/
.redactor_dropdown {
	top: 28px;
	left: 0;
	z-index: 1003;
	position: absolute;
	width: 180px;
	background-color: #fff;
	border: 1px solid #ccc;
	font-size: 13px;
	-webkit-box-shadow: 0 2px 4px #ccc;
	-moz-box-shadow: 0 2px 4px #ccc;	
	box-shadow: 0 2px 4px #ccc;	
	line-height: 21px;		
}
.redactor_separator_drop {
	border-top: 1px solid #ddd;;
	padding: 0 !important;
	line-height: 0;
	font-size: 0;
}
.redactor_dropdown a {
	display: block;
	color: #000;
	padding: 3px 5px;
	text-decoration: none;
}
.redactor_dropdown a:hover {
	color: #444 !important;
	text-decoration: none;
	background-color: #f2f2f2;
}		

/* ColorPicker */
.redactor_color_link {
	padding: 0 !important;
	width: 15px !important;
	height: 15px !important;
	float: left !important;
	border: 2px solid #fff !important;
	font-size: 0;
}
.redactor_color_none {
	font-size: 11px;
}


/* MODAL */
#redactor_modal_overlay {
	position: absolute;
	margin: auto;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 50000;
	

	
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	filter:alpha(opacity=70);
	opacity: 0.70;
	
	background-color: #000 !important;
}
#redactor_modal_overlay[id] { position: fixed; }

#redactor_modal {
	background-color: #fff;
	position: fixed;
	top: 50%;
	left: 50%;
	
	box-shadow: 0px 5px 20px #111;
	-webkit-box-shadow: 0 5px 20px #111; 
  	-moz-box-shadow: 0 5px 20px #111;	
  	
  	-webkit-border-radius: 8px;
  	-moz-border-radius: 8px;
  	border-radius: 8px;  	  	
  		
  	z-index: 50001;
	color: #000;
}
#redactor_modal_header {
	padding: 20px;
	font-size: 18px;
}
#redactor_modal_inner {
	padding: 0 20px 20px 20px;
}
#redactor_modal_close {
	position: absolute;
	right: 5px;
	top: 15px;
	font-size: 36px !important;
	width: 30px;
	height: 30px;
	color: #000;
	cursor: pointer;
}
#redactor_modal label {
	display: inline !important;
}
.redactor_ruler {
	margin-bottom: 10px;
}
.redactor_ruler td {
	font-size: 12px !important;
	padding: 5px !important;
	border: none !important;
}
#redactor_image_box {
	height: 270px; 
	overflow: auto; 
	margin-bottom: 10px;
}

#redactor_image_box img {
	margin-right: 10px;
	margin-bottom: 10px;
	cursor: pointer;
}

#redactor_tabs {
	position: relative;
	top: -15px;
	overflow: hidden;
	list-style: none;
	margin-left: 0;
	margin-bottom: 5px;
  padding: 0;
}
#redactor_tabs li {
	float: left;
	margin-right: 10px;
  padding: 0;
}
#redactor_tabs li a {
	display: block;
	color: #000;
	padding: 3px 7px;
	border: none;
}
#redactor_tabs li a.redactor_tabs_act, #redactor_tabs li a.redactor_tabs_act:hover {
	background-color: #e7e7e7 !important;
	text-decoration: none !important;
	color: #777 !important;
  	-webkit-border-radius: 4px;
  	-moz-border-radius: 4px;
  	border-radius: 4px;  		
}

/* Drag'n'Drop Area */
.redactor_droparea {
	position: relative;
    width: 100%;
    margin: auto;	
}
.redactor_droparea .redactor_dropareabox {    
	z-index: 1;
	position: relative;
    text-align: center;    
    width: 100%;
    padding: 80px 0;
    border: 2px dashed #bbb;
    box-sizing: border-box;-moz-box-sizing: border-box;
}
.redactor_droparea .redactor_dropareabox, .redactor_dropalternative {
    color: #777;
    font-size: 13px;
}
.redactor_dropalternative {
	margin: 4px 0 2px 0;
}
.redactor_dropareabox.hover {
    background: #efe3b8;
    border-color: #aaa;
}
.redactor_dropareabox.error {
    background: #f7e5e5;
    border-color: #dcc3c3;
}

.redactor_dropareabox.drop {
    background: #f4f4ee;
    border-color: #e0e5d6;
}
#language { position:absolute; left:0px; width:32px; font-size:1px; line-height:1px; }
#language img { width:30px; height:17px; padding:1px; margin:0; }
#hover { padding:2px; position:absolute; display:none; z-index:10; background-color:#FFFFCC; border:1px solid #999999; }

.yellowbox { width:450px; border:1px solid #dddddd; background-color:#FFFFCC; padding:5px; margin:5px auto; }
.center { 
  margin:0 auto;
  text-align:center;
  width: 750px;
}
.top { margin:0 auto; padding:2px 0; background-color:#eeeeee; width:95%;}
.bottom { border-bottom:1px solid #9a9a9a; }
#toolbar {
  position:absolute;
  width: 530px;
  padding-top:2px;
}
#toolbar_wrapper { 
  width:530px;
  margin:0px auto;
  text-align:left;
  height: 35px;
}
#toolbar_space { height:36px; width:95%; margin:0 auto; background-color:#eeeeee; border-right:1px solid #9a9a9a; }
.panel { float:left; padding:0px 3px; z-index:10; height:24px; overflow:hidden; }
.panel2 { float:left; padding:0px 3px; z-index:10; height:30px; overflow:hidden; }
#latex_formula { 
  width: 100%;
  height:100px;
}
#footer { position:absolute; width:100%; bottom:2px; text-align:center; }	
.bluebutton, .lightbluebutton, .greybutton {
  border-style: solid;
	border-width:1px;
  border-top-color: #D9DFEA;
  border-left-color: #D9DFEA;
  border-bottom-color: #0e1f5b;
  border-right-color: #0e1f5b;
  color: #FFFFFF;
  font-size: 11px;
  font-family: "lucida grande", tahoma, verdana, arial, sans-serif; 
  text-align: center; 
	cursor:pointer;
	padding:1px 4px;
	margin:0;
}
.lightbluebutton { background-color:#4068AE; }
.bluebutton { background-color:#003794; }
.greybutton { background-color:#888888; }
.orange { color: #FF6600; }
.bluebutton0, .lightbluebutton0, .greybutton0 {
  border-style: none;
	border-width:0px;
  border-top-color: #FFFFFF;
  border-left-color: #FFFFFF;
  border-bottom-color: #FFFFFF;
  border-right-color: #FFFFFF;
  color: #FFFFFF;
  font-size: 0px;
  font-family: "lucida grande", tahoma, verdana, arial, sans-serif; 
  text-align: center; 
	cursor:pointer;
	padding:0px 0px;
	margin:0;
}
.lightbluebutton0 { background-color:#FFFFFF; }
.bluebutton0 { background-color:#FFFFFF; }
.greybutton0 { background-color:#FFFFFF; }
.orange0 { color: #FFFFFF; }
.qe_editor_table tr:first-child td{
  padding-top: 5px; 
}
.qe_editor_table td{
  padding-right: 5px;
  padding-bottom: 5px;
}
.qe_editor_table td:first-child{
  padding-left: 5px;
}
.qe_editor_table{
  background-color: #EEEEEE;
}
.qe_editor_preview{
  border: 2px #CECFD0 dashed;
  padding: 10px;
}
.qe_editor_preview{
  text-align: center;
}


/*******preloader*********/
.redactor_preloader_wrap{
    display: block;
    position: absolute;
    background-color: rgba(255,255,255,0.7);
    text-align: center;
    z-index: 1500;
}
.redactor_preloader_wrap:before{
    content: "";
    display: inline-block;
    width: 0;
    height: 100%;
    margin-left: -3px;
    vertical-align: middle;
}
.redactor_preloader{
    display: inline-block;
    vertical-align: middle;
    font-family: Arial;
    color: #000;
    font-size: 14px;
}